﻿using System;
using System.Collections.Generic;
using System.Text;
using RTCCore;

namespace LibRTC.Core.MessageMap.SessionStateChangeEvent
{
    internal delegate void OnSessionConnectedDelegate(IRTCSession session);
    internal delegate void OnSessionDisconnectedDelegate(IRTCSession session);   

    /// <summary>
    /// This interface should be implemented by Event Handler
    /// </summary>
    public interface ISessionChangeRegister
    {
        /// <summary>
        /// register the session change event
        /// </summary>
        /// <param name="change">interface</param>
        void Register(ISessionChange change);

        /// <summary>
        /// unregister the session change event
        /// </summary>
        /// <param name="change">interface</param>
        void UnRegister(ISessionChange change);
    }
}
